//  登录框

export default {
    state: () => ({
        // 登录框的显示与隐藏
        flag: false,
        //  当前是否需要登录
        loginFlag: true,

    }),
    mutations: {
        changeFlag: function (state, value) {
            state.flag = value;
        },
        changeLoginFlag: function (state, value) {
            state.loginFlag = value;
        },
        changeCookie: function (state, value) {
            state.cookie = value;
        }
    }

}